package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;

import java.util.List;

/*
 * @Author zhangdan
 * @Description //TODO 检查项服务接口
 * @Date 17:04 2020/4/13
 * @Param
 * @return
 **/
public interface CheckItemService {

    //新增检查项
    public void add(CheckItem checkItem);

    //检查项分页条件查询
    public PageResult pageQuery(QueryPageBean queryPageBean);

    //根据id删除检查项
    public void deleteById(Integer id);

    //根据id编辑检查项
    public void edit(CheckItem checkItem);

    //根据id查询检查项
    public CheckItem findById(Integer id);

    //查询所有的检查项
    public List<CheckItem> findAll();
}
